
import {
  mapStateToLayoutProps,
  rankWith,
  uiTypeIs,
  withIncreasedRank,
} from '@jsonforms/core';
import { connectToJsonForms } from '@jsonforms/react';
import AccordionRenderer from './Accordion';

export const accordionTester = rankWith(1, uiTypeIs('Accordion'));

export default connectToJsonForms(
  mapStateToLayoutProps,
)(AccordionRenderer);

export const AccordionLayoutTester = withIncreasedRank(1, accordionTester); // first define
